package org.cn.hj.org.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.cn.hj.basic.common.BaseDto;
import org.cn.hj.org.entity.Department;
import org.cn.hj.org.entity.Employee;
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DepartmentDto extends BaseDto {

    private String sn;

    private String name;

    private String dirPath;

    private Integer state;

    private Long manager_id;

    private Employee employee;

    private Long parent_id;

    private Department parent;


//    public DepartmentDto(Long id,String sn, String name, String dirPath, Integer state, Employee employee, Department parent) {
//        this.id = id;
//        this.sn = sn;
//        this.name = name;
//        this.dirPath = dirPath;
//        this.state = state;
//        this.employee = employee;
//        this.parent = parent;
//    }
}
